<include file="public@header"/>

</head>
<body>
<div style="height: 620px">
    <ul class="nav nav-tabs" style="margin: 20px 15px">
        <if condition="$type==1">
            <li class="active"><a href="#home" data-toggle="tab">未审核</a></li>
        <elseif condition="$type==2">
            <li class="active"><a href="#home" data-toggle="tab">已通过</a></li>
        <else/>
            <li class="active"><a href="#home" data-toggle="tab">未通过</a></li>
        </if>
    </ul>
    <div style="margin: 0px 15px;">
        <if condition="$type==1">
            <p>未审核总数: {$count}</p>
        <elseif condition="$type==2">
            <p>已通过总数: {$count}</p>
        <else/>
            <p>未通过总数: {$count}</p>
        </if>
        <table class="table table-bordered" id="tabID">
        <tr align="center">
            <td>ID</td>
            <td>信息标题</td>
            <td>姓名</td>
            <td>时间</td>
            <td>操作</td>
        </tr>
        <if condition="count($count)">
            <volist name="list" id="item">
                <tr align="center">
                    <td>{$item.id}</td>
                    <td>{$item.xinxibiaoti}</td>
                    <td>{$item.name}</td>
                    <td>{$item.create_time | date="Y-m-d", ###}</td>
                    <td>
                        <a style="outline: 0px" href="{:url('Applyopen/lookUp')}?id={$item.id}&type={$type}"  class="btn btn-link">查看</a>
                        <a style="outline: 0px" href="{:url('Applyopen/deleteInfo')}?id={$item.id}" class="btn btn-link btn-danger js-ajax-delete">删除</a>
                    </td>
                </tr>
            </volist>
            <else/>
            <td colspan="12" style="text-align: center; font-size: 20px">暂无信息</td>
        </if>

        </table>
    </div>
</div>
<div class="pagination" style="margin-left: 25px; margin-top: 50px">{$list->render()}</div>

<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.js"></script>
<script src="__STATIC__/js/admin.js"></script>
<script src="__STATIC__/js/layer/layer.js"></script>

<script>



</script>









</body>
</html>